import wsgiref.handlers
from google.appengine.ext import webapp

import cgi
import logging

class GoTo(webapp.RequestHandler):
    def get(self):
        logging.info('Goto -> ')
        self.redirect('http://hi.baidu.com/zhangred97')
        


def main():
    logging.getLogger().setLevel(logging.INFO)
    application = webapp.WSGIApplication([
        ('/', GoTo),
        ],
        debug=True)
    wsgiref.handlers.CGIHandler().run(application)

if __name__ == '__main__':
    main()

